package com.kefu.call.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author CodeGenerator
 * @date 2022/07/28
 */
@Data
@TableName(value="cdr_customer")
@ApiModel(description = "计费_计费客户")
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class CdrCustomer implements Serializable{

	private static final long serialVersionUID = 1L;
	
	@TableId(value="Oid",type=IdType.AUTO)
    @ApiModelProperty(value = "主键")
    private Integer oid;
    
    @TableField(value="Name")
    @ApiModelProperty(value = "公司名称")
    private String name;
    
    @TableField(value="Balance")
    @ApiModelProperty(value = "余额")
    @Builder.Default
    private String balance = "0";
    
    @TableField(value="Overdraft")
    @ApiModelProperty(value = "透支限额")
    @Builder.Default
    private String overdraft = "100";
    
    @TableField(value="PrantD")
    @ApiModelProperty(value = "公司ID")
    private String company;
    

}